package com.guojiganzhe.subject.application.convert;

import com.guojiganzhe.subject.application.dto.SubjectLabelDTO;
import com.guojiganzhe.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
/**
 * 标签dto的转换
 * @author: guojiganzhe
 * @create: 2023-05-05 09:05
 **/
@Mapper
public interface SubjectLabelDTOConverter {
    SubjectLabelDTOConverter INSTANCE = Mappers.getMapper(SubjectLabelDTOConverter.class);


    SubjectLabelBO convertDtoToLabelBO(SubjectLabelDTO subjectLabelDTO);

    List<SubjectLabelDTO> convertBOToLabelDtoList(List<SubjectLabelBO> boList);
}
